package com.hollysys.hollimsa.common.result;

import java.io.Serializable;

/**
 * @author wangyuxi
 */

public enum AjaxCodeEnum implements Serializable {
    /**
     * 失败
     **/
    FAIL("8x00000000","失败"),
    /**
     * 成功
     **/
    OK("0x00000000","成功"),
    /**
     * 参数异常
     **/
    INVALID_PARAMETERS("INVALID_PARAMETERS","参数异常")

    ;

    private final String code;
    private final String name;

    AjaxCodeEnum(final String code, final String name) {
        this.code = code;
        this.name = name;
    }
    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
